import 'package:flutter_taotaoshipin/generated/json/base/json_field.dart';
import 'package:flutter_taotaoshipin/generated/json/interact_user_sign_in_detail_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class InteractUserSignInDetailEntity {
	int? mid;
	String? cdate;
	int? ctime;
	int? days;

	InteractUserSignInDetailEntity();

	factory InteractUserSignInDetailEntity.fromJson(Map<String, dynamic> json) => $InteractUserSignInDetailEntityFromJson(json);

	Map<String, dynamic> toJson() => $InteractUserSignInDetailEntityToJson(this);

	InteractUserSignInDetailEntity copyWith({int? mid, String? cdate, int? ctime, int? days}) {
		return InteractUserSignInDetailEntity()
			..mid= mid ?? this.mid
			..cdate= cdate ?? this.cdate
			..ctime= ctime ?? this.ctime
			..days= days ?? this.days;
	}

	@override
	String toString() {
		return jsonEncode(this);
	}
}